package com.neu.questionnaire_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xingle
 * @since 2022-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

    private String qid;

    @TableId(value = "questionId", type = IdType.ID_WORKER_STR)
    private String questionId;

    @TableField("questionType")
    private String questionType;

    @TableField("questionText")
    private String questionText;

    private int count;

    public String getQid() {
        return qid;
    }

    public void setQid(String qid) {
        this.qid = qid;
    }

    public int getCount() {
        return count;
    }

    public String getQuestionId() {
        return questionId;
    }
}
